package com.hand.mapper;

import com.hand.entity.Condition;
import com.hand.entity.Pagination;
import com.hand.entity.SsmItem;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigInteger;
import java.util.List;

/**
 * Created by 86136 on 2019/7/19.
 */
@Repository
public interface SsmItemMapper {
    int deleteItem(BigInteger itemId);
    int insertItem(SsmItem ssmItem);
    int updateItem(SsmItem ssmItem);
    List<SsmItem> selectByCondition(@Param("condition") Condition condition, @Param("pagination")Pagination pagination);
    int count(Condition condition);
}
